package com.liuliu.zua.service.impl;

import com.liuliu.zua.domain.ZuaStudentTeacherClass;
import com.liuliu.zua.mapper.ZuaStudentTeacherClassMapper;
import com.liuliu.zua.service.IZuaStudentTeacherClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 1Service业务层处理
 * 
 * @author liuliu
 * @date 2021-03-25
 */
@Service
public class ZuaStudentTeacherClassServiceImpl implements IZuaStudentTeacherClassService 
{
    @Autowired
    private ZuaStudentTeacherClassMapper zuaStudentTeacherClassMapper;

    /**
     * 查询1
     * 
     * @param id 1ID
     * @return 1
     */
    @Override
    public ZuaStudentTeacherClass selectZuaStudentTeacherClassById(Long id)
    {
        return zuaStudentTeacherClassMapper.selectZuaStudentTeacherClassById(id);
    }

    /**
     * 查询1列表
     * 
     * @param zuaStudentTeacherClass 1
     * @return 1
     */
    @Override
    public List<ZuaStudentTeacherClass> selectZuaStudentTeacherClassList(ZuaStudentTeacherClass zuaStudentTeacherClass)
    {
        return zuaStudentTeacherClassMapper.selectZuaStudentTeacherClassList(zuaStudentTeacherClass);
    }

    /**
     * 新增1
     * 
     * @param zuaStudentTeacherClass 1
     * @return 结果
     */
    @Override
    public int insertZuaStudentTeacherClass(ZuaStudentTeacherClass zuaStudentTeacherClass)
    {
        return zuaStudentTeacherClassMapper.insertZuaStudentTeacherClass(zuaStudentTeacherClass);
    }

    /**
     * 修改1
     * 
     * @param zuaStudentTeacherClass 1
     * @return 结果
     */
    @Override
    public int updateZuaStudentTeacherClass(ZuaStudentTeacherClass zuaStudentTeacherClass)
    {
        return zuaStudentTeacherClassMapper.updateZuaStudentTeacherClass(zuaStudentTeacherClass);
    }

    /**
     * 批量删除1
     * 
     * @param ids 需要删除的1ID
     * @return 结果
     */
    @Override
    public int deleteZuaStudentTeacherClassByIds(Long[] ids)
    {
        return zuaStudentTeacherClassMapper.deleteZuaStudentTeacherClassByIds(ids);
    }

    /**
     * 删除1信息
     * 
     * @param id 1ID
     * @return 结果
     */
    @Override
    public int deleteZuaStudentTeacherClassById(Long id)
    {
        return zuaStudentTeacherClassMapper.deleteZuaStudentTeacherClassById(id);
    }
}
